package com.cms.entity.base;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 内容表
 * </p>
 *
 * @author 作者
 * @since 2022-03-06
 */
@Data
public class BaseContent implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 创建日期
     */
    private LocalDateTime createDate;

    /**
     * 修改日期
     */
    private LocalDateTime updateDate;

    /**
     * 发布日期
     */
    private LocalDateTime publishDate;

    /**
     * 编码
     */
    private String code;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 作者
     */
    private String author;

    /**
     * 来源
     */
    private String source;

    /**
     * 外链地址
     */
    private String outlink;

    /**
     * 缩略图
     */
    private String ico;

    /**
     * 大图
     */
    private String image;

    /**
     * 多图片
     */
    private String picValue;

    /**
     * tag关键字
     */
    private String tagIdValue;

    /**
     * 附件
     */
    private String attach;

    /**
     * 是否置顶
     */
    private Boolean isTop;

    /**
     * 是否推荐
     */
    private Boolean isRecommend;

    /**
     * 是否头条
     */
    private Boolean isHeadline;

    /**
     * 访问数
     */
    private Integer visits;

    /**
     * 点赞数
     */
    private Integer likes;

    /**
     * 反对数
     */
    private Integer oppose;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 描述
     */
    private String description;

    /**
     * 关键词
     */
    private String keywords;

    /**
     * 标题
     */
    private String title;

    /**
     * 副标题
     */
    private String subtitle;

    /**
     * 标题颜色
     */
    private String titlecolor;

    /**
     * 内容
     */
    private String introduction;

    /**
     * 内容栏目ID
     */
    private Integer categoryId;

    /**
     * 数据块值
     */
    private String chunkValue;

    /**
     * 内容字段值
     */
    private String modelFieldValue;

    /**
     * 备注
     */
    private String remark;

    /**
     * 站点ID
     */
    private Integer siteId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }
    public LocalDateTime getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(LocalDateTime updateDate) {
        this.updateDate = updateDate;
    }
    public LocalDateTime getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(LocalDateTime publishDate) {
        this.publishDate = publishDate;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }
    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }
    public String getOutlink() {
        return outlink;
    }

    public void setOutlink(String outlink) {
        this.outlink = outlink;
    }
    public String getIco() {
        return ico;
    }

    public void setIco(String ico) {
        this.ico = ico;
    }
    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
    public String getPicValue() {
        return picValue;
    }

    public void setPicValue(String picValue) {
        this.picValue = picValue;
    }
    public String getTagIdValue() {
        return tagIdValue;
    }

    public void setTagIdValue(String tagIdValue) {
        this.tagIdValue = tagIdValue;
    }
    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }
    public Boolean getIsTop() {
        return isTop;
    }

    public void setIsTop(Boolean isTop) {
        this.isTop = isTop;
    }
    public Boolean getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(Boolean isRecommend) {
        this.isRecommend = isRecommend;
    }
    public Boolean getIsHeadline() {
        return isHeadline;
    }

    public void setIsHeadline(Boolean isHeadline) {
        this.isHeadline = isHeadline;
    }
    public Integer getVisits() {
        return visits;
    }

    public void setVisits(Integer visits) {
        this.visits = visits;
    }
    public Integer getLikes() {
        return likes;
    }

    public void setLikes(Integer likes) {
        this.likes = likes;
    }
    public Integer getOppose() {
        return oppose;
    }

    public void setOppose(Integer oppose) {
        this.oppose = oppose;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }
    public String getTitlecolor() {
        return titlecolor;
    }

    public void setTitlecolor(String titlecolor) {
        this.titlecolor = titlecolor;
    }
    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }
    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }
    public String getChunkValue() {
        return chunkValue;
    }

    public void setChunkValue(String chunkValue) {
        this.chunkValue = chunkValue;
    }
    public String getModelFieldValue() {
        return modelFieldValue;
    }

    public void setModelFieldValue(String modelFieldValue) {
        this.modelFieldValue = modelFieldValue;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Integer getSiteId() {
        return siteId;
    }

    public void setSiteId(Integer siteId) {
        this.siteId = siteId;
    }

    @Override
    public String toString() {
        return "Content{" +
                "id=" + id +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                ", publishDate=" + publishDate +
                ", code=" + code +
                ", status=" + status +
                ", author=" + author +
                ", source=" + source +
                ", outlink=" + outlink +
                ", ico=" + ico +
                ", image=" + image +
                ", picValue=" + picValue +
                ", tagIdValue=" + tagIdValue +
                ", attach=" + attach +
                ", isTop=" + isTop +
                ", isRecommend=" + isRecommend +
                ", isHeadline=" + isHeadline +
                ", visits=" + visits +
                ", likes=" + likes +
                ", oppose=" + oppose +
                ", sort=" + sort +
                ", description=" + description +
                ", keywords=" + keywords +
                ", title=" + title +
                ", subtitle=" + subtitle +
                ", titlecolor=" + titlecolor +
                ", introduction=" + introduction +
                ", categoryId=" + categoryId +
                ", chunkValue=" + chunkValue +
                ", modelFieldValue=" + modelFieldValue +
                ", remark=" + remark +
                ", siteId=" + siteId +
                "}";
    }
}
